
<!-- Navigation -->
<div id="navigation">
	<ul>
		<li><a href="javascript:void(0);" alt="home"
		<?php if($page == 'home') echo 'class="active"';?>
			onclick="submitLink(this);">Home</a></li>

			<?php
			if(isset($selectedPagesInMenu))
			foreach($selectedPagesInMenu->result() as $menu){
				?>
		<li><a href="javascript:void(0);" alt="<?php echo $menu->name;?>"
		<?php if($menu->name == $menu) echo 'class="active"';?>
			onclick="submitLink(this);"><span><?php echo $menu->title;?> </span>
		</a></li>
		<?php
			}
			?>


			<?php
			/*
			 <li><a href="javascript:void(0);" alt="aboutus" <?php if($page == 'aboutus') echo 'class="active"';?>  onclick="submitLink(this);">About Us</a></li>
			 <li><a href="javascript:void(0);" alt="services"  <?php if($page == 'services') echo 'class="active"';?>  onclick="submitLink(this);">Services</a></li>
			 */?>
			<?php
			// <li><a href="javascript:void(0);" alt="news"  <?php if($page == 'news') echo 'class="active"';  onclick="submitLink(this);">News</a></li>
			?>

			<?php
			// <li><a href="javascript:void(0);" alt="schedule"  <?php if($page == 'schedule') echo 'class="active"';  onclick="submitLink(this);">Schedule</a></li>
			?>
			<?php
			// <li><a href="javascript:void(0);" alt="affiliates"  <?php if($page == 'affiliates') echo 'class="active"';  onclick="submitLink(this);">affiliates</a></li>
			//  <li><a href="javascript:void(0);" alt="faq"  <?php if($page == 'faq') echo 'class="active"';  onclick="submitLink(this);">FAQ</a></li>
			?>
			<?php
			// <li><a href="javascript:void(0);" alt="download"  <?php if($page == 'download') echo 'class="active"';  onclick="submitLink(this);">Download</a></li>
			?>

		<li><a href="javascript:void(0);" alt="contactus"
		<?php if($page == 'contactus') echo 'class="active"';?>
			onclick="submitLink(this);">Contact Us</a></li>
			<?php
			if($this->session->userdata('client_id') != null){
				?>
		<li><a href="javascript:void(0);" alt="mytransaction"
		<?php if($page == 'mytransaction') echo 'class="active"';?>
			onclick="submitLink(this);">Transactions</a></li>
			<?php
			}
			?>

	</ul>
</div>
<div>
	<form action='<?php echo BASEURL; ?>' method='post' id="navigationForm">

		<input type="hidden" name="page" id="navDestinationPage" value="home">
		<input type="hidden" name="editId" id="editId">
	</form>
</div>
<!-- END Navigation -->
